import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
	{
	  title: 'id',
	  align: "center",
	  dataIndex: 'id'
	},
  {
    title: '分包商名称',
    align: "center", resizable: true,
    dataIndex: 'contactName'
  },
  {
    title: '权限用户',
    align: "center", resizable: true,
    dataIndex: 'userId_dictText'
  },
  {
    title: '合作模式',
    align: "center", resizable: true,
    dataIndex: 'conspireMode'
  },
  {
    title: '分包商类型',
    align: "center", resizable: true,
    dataIndex: 'contactType'
  },
  
  {
    title: '联系人',
    align: "center", resizable: true,
    dataIndex: 'contactPerson'
  },
  {
    title: '联系电话',
    align: "center", resizable: true,
    dataIndex: 'contactPhone'
  },
  {
    title: '电子邮箱',
    align: "center", resizable: true,
    dataIndex: 'email'
  },

];

// 高级查询数据
export const superQuerySchema = {
  contactName: {title: '供应商名称',order: 0,view: 'text', type: 'string',},
  contactPerson: {title: '联系人',order: 1,view: 'text', type: 'string',},
  contactPhone: {title: '联系电话',order: 2,view: 'text', type: 'string',},
  address: {title: '地址',order: 3,view: 'textarea', type: 'string',},
  email: {title: '电子邮箱',order: 4,view: 'text', type: 'string',},
  taxId: {title: '税务登记号',order: 5,view: 'text', type: 'string',},
  bankAccount: {title: '银行账号',order: 6,view: 'text', type: 'string',},
  contactType: {title: '供应商类型',order: 7,view: 'text', type: 'string',},
  subProjectId: {title: '历史子项目',order: 8,view: 'text', type: 'string',},
};
